#pragma once
//to be completed
//important! add injectKinect
#include "Ogre.h"
#include "OIS.h"
#include "btBulletDynamicsCommon.h"
#include "KiraCameraMan.h"

using namespace Ogre;

class KiraPlayerController
{
public:
	KiraPlayerController(btRigidBody *body, KiraCameraMan *cam);
	~KiraPlayerController(void);
	virtual void injectKeyDown(const OIS::KeyEvent& evt);
	virtual void injectKeyUp(const OIS::KeyEvent& evt);
	virtual bool frameRenderingQueued(const FrameEvent& evt);

private:
	bool speedUp, slowDown;
	btRigidBody *aircraft;
	KiraCameraMan *camera;
	float minspeed, maxspeed;
	float power;
	float airResistance;
};

